package com.ym.b2b.commons.conf;

import java.util.Date;

/**
 * 前台登陆 采购商SESSION
 * 
 * @ClassName: WebTokenUser
 * @Description: TODO
 * @Author 竺夏军
 * @Date 2015年3月19日 下午2:57:21
 * @Modify
 * @CopyRight 信息化团队
 */
public class WebTokenUser extends BaseToken {

    private Long    userId;
    private String  userName;         // 用户姓名
    private String  loginName;        // 登陆名

    private Integer userLevel;        // 用户等级
    private String  buyerCode;        // 采购商编码
    private Integer buyerIsValid;     // 采购商是否审核
    private String  isValid;          // 账户是否有效

    private Date    licenseStartDate; // 许可证
    private Date    licenseEndDate;

    private Date    businessStartDate; // 执照
    private Date    businessEndDate;
    private Integer isBinding;        // 是否绑定

    /** 支付类型 **/
    private Integer payType;          // 支付类型 现金或欠款

    /** 是否 连锁门店 **/
    private Integer isBranch;         // 是否门店
    private String  saleMan;          // 业务员

    private Integer buyerCategory;    //客户类型
    
    private String isCompact;//是否签订网站合同
    private String isPayCompact;//是否签订支付合同
    private String buyerName;//单位名称
    
    private String            buyProperty;//采购限制

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginName() {
        return this.loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Integer getUserLevel() {
        return this.userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public String getBuyerCode() {
        return this.buyerCode;
    }

    public void setBuyerCode(String buyerCode) {
        this.buyerCode = buyerCode;
    }

    public String getIsValid() {
        return this.isValid;
    }

    public Date getLicenseStartDate() {
        return this.licenseStartDate;
    }

    public void setLicenseStartDate(Date licenseStartDate) {
        this.licenseStartDate = licenseStartDate;
    }

    public Date getBusinessStartDate() {
        return this.businessStartDate;
    }

    public Date getLicenseEndDate() {
        return this.licenseEndDate;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setLicenseEndDate(Date licenseEndDate) {
        this.licenseEndDate = licenseEndDate;
    }

    public Date getBusinessEndDate() {
        return this.businessEndDate;
    }

    public void setBusinessEndDate(Date businessEndDate) {
        this.businessEndDate = businessEndDate;
    }

    public void setBusinessStartDate(Date businessStartDate) {
        this.businessStartDate = businessStartDate;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    public Integer getIsBinding() {
        return this.isBinding;
    }

    public void setIsBinding(Integer isBinding) {
        this.isBinding = isBinding;
    }

    public Integer getPayType() {
        return this.payType;
    }

    public Integer getIsBranch() {
        return isBranch;
    }

    public void setIsBranch(Integer isBranch) {
        this.isBranch = isBranch;
    }

    public Integer getBuyerIsValid() {
        return buyerIsValid;
    }

    public void setBuyerIsValid(Integer buyerIsValid) {
        this.buyerIsValid = buyerIsValid;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getSaleMan() {
        return saleMan;
    }

    public String getBuyerName() {
		return buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public void setSaleMan(String saleMan) {
        this.saleMan = saleMan;
    }

	public String getIsCompact() {
		return isCompact;
	}

	public void setIsCompact(String isCompact) {
		this.isCompact = isCompact;
	}

	public String getIsPayCompact() {
		return isPayCompact;
	}

	public void setIsPayCompact(String isPayCompact) {
		this.isPayCompact = isPayCompact;
	}

    public Integer getBuyerCategory() {
        return buyerCategory;
    }

    public void setBuyerCategory(Integer buyerCategory) {
        this.buyerCategory = buyerCategory;
    }

	public String getBuyProperty() {
		return buyProperty;
	}

	public void setBuyProperty(String buyProperty) {
		this.buyProperty = buyProperty;
	}
}
